// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueResource from 'vue-resource'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import qs from 'qs'
// 引入全部组件 在main.js中引用
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(Mint)

// import BScroll from 'better-scroll'

// Vue.use(BScroll)
Vue.use(qs)
Vue.use(axios)
Vue.use(ElementUI)


Vue.config.productionTip = false
Vue.use(VueResource)

Vue.http.options.emulateHTTP = true
Vue.http.options.emulateJSON = true

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
